package com.rd.student.jiaji.class4.suyan.zrrd.day04;

public class Demo15 {
    public static void main(String[] args) {
        //5*8的矩形，打印5行，每行8列
        /*for (int i=0;i<5;i++){
            for (int j=0;j<8;j++){
                System.out.print("*");

            }
            System.out.println();
        }
for (int i=0;i<5;i++){
            for (int j=0;j<=i;j++){
                System.out.print("*");
            }
            System.out.println();

        }
         */
        for (int i=5;i>=0;i--){
            for (int j=0;j<i;j++){
                System.out.print("*");
            }
            System.out.println("");
        }

    }
}
